package com.zzc.emotisenseclassroom.dbservice.EmotisenseScore;

import com.zzc.emotisenseclassroom.domain.classScore.vo.EmotiSenseScoreVO;
import com.zzc.emotisenseclassroom.dto.emotisenseScore.EmotisenseScoreDTO;

import java.util.Date;
import java.util.List;

/**
 * Copyright Zzc
 * FileName: EmotisenseScoreDbService
 * Author:   Zzc
 * Date:     2024/5/323:08
 * Description:课堂专注度评分db service 接口
 * hISTORY:
 * <author>  <time>     <version>    <desc>
 * 作者姓名   修改时间       版本号       描述
 * Zzc                   1.0.0
 */
public interface EmotisenseScoreDbService {
    /**
     * 获取指定时间段的班级课堂专注度评分
     * @param dateBegin
     * @param dateEnd
     * @param schoolId
     * @param classId
     * @return
     */
    List<EmotiSenseScoreVO> getClassEmotisenseScore(Date dateBegin, Date dateEnd, Long schoolId, Long classId);

    /**
     * 获取指定时间段的学生课堂专注度评分
     *
     * @param dateBegin
     * @param dateEnd
     * @param schoolId
     * @param classId
     * @param userId
     * @return
     */
    List<EmotiSenseScoreVO> getStudentEmotisenseScore(Date dateBegin, Date dateEnd, Long schoolId,
                                                      Long classId, Long userId);

    /**
     * 插入课堂专注度评分数据
     * @param scoreList 课堂专注度评分list
     */
    void insertScore(List<EmotisenseScoreDTO> scoreList);
}
